<?php function _tag_phpcms_tag_category_rss($data, $number, $rows, $count, $page, $pages, $setting){ global $PHPCMS,$MODULE,$M,$CATEGORY,$TYPE,$AREA,$GROUP,$MODEL,$templateid,$_userid,$_username;@extract($setting);?><?php $data = subcat($module,0,0);?>
<div class="rss_nav">
  <ul>
  <?php if(is_array($data)) foreach($data AS $n => $r) { ?>
    <li><a href="rss.php?catid=<?php echo $r['catid'];?>" id="menu_<?php echo $r['catid'];?>" name="menu_<?php echo $r['catid'];?>"><span><?php echo $r['catname'];?></span></a></li>
  <?php } ?>
  </ul>
</div><?php } ?>